package com.yn.service.zy;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yn.common.model.zy.TInspectionItemDO;
import com.yn.common.page.BasePage;
import com.yn.common.request.sc.PageParamRequest;
import com.yn.service.zy.model.dto.TInspectionItemDTO;
import com.yn.service.zy.model.query.TInspectionItemQuery;

import java.util.List;

public interface TInspectionItemService extends IService<TInspectionItemDO> {
    /**
     * 分页获取检查项信息
     * @param query
     * @param basePage
     * @return
     */
    IPage<TInspectionItemDTO> listPage(TInspectionItemQuery query, BasePage basePage);

    /**
     * 获取检查项详情
     * @param itemPriceId
     * @return
     */
    TInspectionItemDTO getInfo(Integer itemPriceId);

    /**
     * 分页获取检查项信息
     * @param query
     * @param pageRequest
     * @return
     */
    BasePage<TInspectionItemDTO> listPage1(TInspectionItemQuery query, PageParamRequest pageRequest);
}

